<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2021/8/25 0025
 * Time: 下午 4:21
 */
namespace app\model;
class Link extends \think\Model{
    public $table="link";


    function get_all_link(){
        $o=$this->select();
        $arrs=object2array($o);
        foreach($arrs as $k=>$v){
            $arrs[$k]['pic']=pic_host($v['pic']);
        }
        return $arrs;
    }
}